package com.jrx.anytxn.transaction.dto.transactionLog;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 还款流水与订单关联res
 *
 * @author yf
 * date 2020/7/28 0028
 * @version V1.0
 **/
public class TlPaymentMappingRes implements Serializable {


    /**
     * 自增主键
     * 表字段:id
     */
    private Long id;

    /**
     * 租户ID
     * 表字段:tenant_id
     */
    private String tenantId;

    /**
     * 客户id
     * 表字段:customer_id
     */
    private String customerId;

    /**
     * tl_payment_log的seq_no
     * 表字段:payment_seq_no
     */
    private String paymentSeqNo;

    /**
     * 贷款ID
     * 表字段:loan_id
     */
    private String loanId;

    /**
     * 创建时间
     * 表字段:create_time
     */
    private Date createTime;

    /**
     * 贷款状态
     */
    private String accountStatus;

    /**
     * 渠道id
     */
    private String channel;

    /**
     * 外部合同号
     */
    private String contractNumber;

    /**
     * 合同号
     */
    private String contractId;

    /**
     * 强制催收标识
     */
    private String compelCollectionFlag;

    /**
     * 贷款类型
     */
    private String loanType;

    /**
     * 还款金额
     */
    private BigDecimal paymentAmount;
    /**
     * 借款金额
     */
    private BigDecimal loanAmount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getPaymentSeqNo() {
        return paymentSeqNo;
    }

    public void setPaymentSeqNo(String paymentSeqNo) {
        this.paymentSeqNo = paymentSeqNo;
    }

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(String accountStatus) {
        this.accountStatus = accountStatus;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getCompelCollectionFlag() {
        return compelCollectionFlag;
    }

    public void setCompelCollectionFlag(String compelCollectionFlag) {
        this.compelCollectionFlag = compelCollectionFlag;
    }

    public String getLoanType() {
        return loanType;
    }

    public void setLoanType(String loanType) {
        this.loanType = loanType;
    }

    public BigDecimal getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    /**
     * 获取 借款金额
     *
     * @return loanAmount 借款金额
     */
    public BigDecimal getLoanAmount() {
        return this.loanAmount;
    }

    /**
     * 设置 借款金额
     *
     * @param loanAmount 借款金额
     */
    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }
}